package com.immac.leejc.copytimetest;

public class Main {
	public static void main(String[] args) {
		int repeatCount = 1000000;
		copytimetester timeTester = new copytimetester();
		
		// UsedFor
		timeTester.setIntegerArray();
		double d = timeTester.repeatForCopyTest(repeatCount);
		System.out.println("ForCopy 실행 시간 : " + d);
		
		// UsedArrayCop
		timeTester.resetIntegerArray();
		d = timeTester.repeatArrayCopyTest(repeatCount);
		
		System.out.println("ArrayCopy 실행 시간 : " + d);
	}
}

